﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Samples.ServiceHosting.StorageClient;
using System.Globalization;


namespace ZeCloud.TekFriends.Metier.Table
{
    /*
      * 
      */
    public class Personne : TableStorageEntity
    {
        public const string YOUPI = "YOUPI";

        // User defined properties
       
                public string nom { get; set; }
                public string prenom { get; set; }
                public string ville { get; set; }
                public string creationDate { get; set; }
        public string liveID { get; set; }

        public Personne()
        {
            PartitionKey = YOUPI;
        }

        public Personne(string in_email)
        {
            PartitionKey = YOUPI;
            
            RowKey = in_email;

            creationDate = DateTime.Now.Ticks.ToString();

            //TODO Gérer les autres attributs
        }

       

    }
}
